import java.util.List;

/**
 * Provides dominant annotations for a list of clusters.
 * @author odedmagg
 *
 */

public abstract class AnnotationProvider {
	protected double _cutoff;
	
	public AnnotationProvider(double cutoff) {
		_cutoff = cutoff;
		// TEMP TODO
	}
	
	public AnnotationProvider() {
		this(0.05);
	}
	
	public double getCutoff() {
		return _cutoff;
	}
	
	public void setCutoff(double cutoff) {
		if ((0 <= cutoff) && (cutoff <= 1.0)) {
			_cutoff = cutoff;
		}
	}
	
	abstract public void find(List<Cluster> clusters);
}
